package com.aop.cglib;

public class TestCglib {

	
	public static void main(String[] args) {  
		BookFacadeProxy cglib=new BookFacadeProxy();  
		
		//要代理的对象
		BookCadeImpl1 xx = new BookCadeImpl1();
		
        BookCadeImpl1 bookCglib=(BookCadeImpl1)cglib.createProxy(xx); 
        System.out.println(bookCglib.getClass().getName());
        bookCglib.addBook();  
    }  
}
